
<div class="navbar navbar-fixed-top navbar-inverse">
  <div class="navbar-inner">
    <div class="container">
      <!-- Menu button for smallar screens -->
      <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
      </a>
      <!-- Site name for smallar screens -->
      <a href="#" class="brand"><img src="http://localhost/mpd/img/Bank_Mandiri1.png"/><? 
	  if($_SESSION['ID_ROLE'] == 2):
		echo "SPM (Departement Head)";
		elseif($_SESSION['ID_ROLE'] == 3):
		echo "SPM (Team Leader)";
		elseif($_SESSION['ID_ROLE'] == 4):
		echo "SPM (Pegawai)";
		endif;
		
	  ?></a>
      <!-- Navigation starts -->
      <div class="nav-collapse collapse">        
        <!-- Links -->
        <ul class="nav pull-right">
        <li>
			<? 
	  if($_SESSION['ID_ROLE'] == 2):
		echo "<a href='http://localhost/mpd/dh/sdm/view/index.php'>SDM</a>";
		else:
		echo "<a href='http://localhost/mpd/view/sdm/index.php'>SDM</a>";
		endif;
		
	  ?>
        	<!--<a href='http://localhost/mpd/dh/sdm/view/index.php'>SDM</a>-->
		</li>
        <li>
        	<a href='http://localhost/mpd/view/spm/index.php'>SPM</a>
        </li>
        <li>
        	<a href='http://localhost/mpd/controler/logout.php'>Logout</a>
        </li>	
        </ul>
      </div>
    </div>
  </div>
</div>